package com.hqd.ch03.v51.boot.web.servlet.server;

import com.hqd.ch03.v51.boot.web.server.WebServer;
import com.hqd.ch03.v51.boot.web.server.WebServerFactory;
import com.hqd.ch03.v51.boot.web.servlet.ServletContextInitializer;

@FunctionalInterface
public interface ServletWebServerFactory extends WebServerFactory {

    /**
     * 创建一个Web容器
     */
    WebServer getWebServer(ServletContextInitializer... initializers);

}

